using System;
using System.Runtime.Serialization;
using Kollektiv.DB;
using System.Collections.Generic;

namespace Kollektiv.DataModel
{
	[DataContract]
	public abstract class Content:DataObject, IAttachments
	{
		[DataMember]
		public virtual Language Language{ get; set; }
		
		[DataMember]
		public virtual string Title { get; set; }
		
		[DataMember]
		public virtual string Text { get; set; }
		
		[DataMember]
		public virtual IEnumerable<Attachment> Attachments { get; set; }
	}
}

